package org.lboot.flow.model.node;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Map;
import java.util.Objects;

/**
 * @author kindear
 * 触发器节点
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TriggerModel extends BaseModel implements Serializable {


    @ApiModelProperty(value = "服务名称/地址")
    String service;

    @ApiModelProperty(value = "请求参数")
    Map<String, Objects> triggerParams;

    @ApiModelProperty(value = "执行脚本")
    String runScript;
}
